package cn.madis.ymcc.utils;

import cn.madis.ymcc.doc.CourseDoc;
import cn.madis.ymcc.dto.Aggs;
import cn.madis.ymcc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EsAggPageList extends PageList {
    private Map<String , List<Aggs>> map;
    public EsAggPageList(Long total, List<CourseDoc> rows, Map<String , List<Aggs>> map){
        super(total,rows);
        this.map = map;
    }
}
